home *** CD-ROM | disk | FTP | other *** search
- onClipEvent(enterFrame){
- if(_root.paused)
- {
- return undefined;
- }
- if(!_root.car.onfloor)
- {
- if(Key.isDown(37))
- {
- _visible = true;
- if(_root.sound)
- {
- if(!sound)
- {
- _root.steamSideB.start(0,99999);
- sound = true;
- }
- }
- }
- }
- if(!Key.isDown(37) or _root.car.onfloor or _root.fake._rotation < -20 or _root.fake._rotation > 20)
- {
- _visible = false;
- }
- if(!Key.isDown(37) or _root.car.onfloor)
- {
- _root.steamSideB.stop();
- sound = false;
- }
- _X = _root.fake._x + 30;
- _Y = _root.fake._y - 14;
- }
-